package com.example.demo;

import com.example.shape.Square;
import com.example.color.Blue;
import com.example.color.Green;
import com.example.color.Red;
import com.example.shape.Circle;
import com.example.shape.Triangle;

/**
 * @author zhoujun
 * @date 2025/3/20 22:08
 */
public class Main {
    public static void main(String[] args) {

        Circle redCicle = new Circle(new Red());
        redCicle.draw();

        Square square = new Square(new Blue());
        square.draw();

        Triangle greenTriangle = new Triangle(new Green());
        greenTriangle.draw();

    }
}
